Built the gui structure and the first working menu.