Started working on writing to file
More work on saving.
Saving effectively is done until new features are added.