Added player class, fixed getPlayerData