Implemented Save and Load/Persistence

Added Saving and Loading features, and fixed more bugs