Implementing Player class