Created the player class.