Introduced a Player class for carting the player variables around