Created the Player class