'Insert a new structure into the database.'

def insert_structure(self, structure, course_context=None):

    with TIMER.timer('insert_structure', course_context) as tagger:
        tagger.measure('blocks', len(structure['blocks']))
        self.structures.insert(structure_to_mongo(structure, course_context))
