added menu and game state tracker