Added ability to load and save data