finished main menu with submenus