First go at a Tk GUI

Moved config to be in a class of its own.