Added statemanager, main menu and a second level