Added gamestate class