Implemented main menu.