Moved the GUI to a separate file, and started working on the main layout.