Configuration, formatting, and moving files

Did some more formatting. Set up basic configuration JSON file. Moved
some Tkinter functions to a new file.