Implemented Application State Saving, saving and loading of data