Added a Player class.

The class encapsulates the Player game object so that changes to it
won't affect the code. So far PlayerFactory is the only code that uses
it.