added save and load functionality to the core. need to implement some saveables and test it. also need to make the datamanager implement saveable