adds create_assembly() and get_assembly() functions