Refactoring Player code out to its own class.