Added Player class with methods