Implemented Saving and Testing

Still need to actually use the saved data...partially implemented.