You can use the following functions to create and destroy instances as well as get information about them and even change them:
instance_create_layer instance_create_depth instance_destroy instance_exists instance_change instance_copy instance_find instance_furthest instance_nearest instance_number instance_place instance_place_list instance_position instance_position_list