Fixed a Player object typo and added a init_player_data function