Transfering player methods to the player class