added player and gamestate classes