Refactor Player class and dummy player class