cleanup to allow TOML configuration
basic config working through toml
added autosave functionality to the editor. Saves every 2.5 secs