Finished save logic. Also the load logic.