Main class changed to the GUI.