Added savestate functionality. GameState object now serializable and saved to file in data/data