Created a player class