Created most of the GUI