Created a player class.