Removes class, reorders TK calls

Removed class Program, also reordered the calls that Tk is making in
order to fit this new format.