Started working on the activate_library_spell and create_library_spell function. Need to make the objects more generic (no need for trees :/)