Implemented a primitive save and load system