Refactored and deleted Player class