Move the code dealing with saving and loading data to server/database to gather it all up into one place.