Added and integrated a Player class