added main menu and settings menu