Creating the Player class