created the main menu. TODO: write unit test