Implemented main menu and infrastructure for gui management