Added automatic saving and loading, as well as saving and loading via a text file.