Fully functioning facility management

Updated the code for facility management. Should now be fully
functioning