Implement and test main menu