Seperating GUI and and main menu