Added states to the Entity class.

Although it will probably need more work since there isn't really any
protection or validation.

Also changed player class to point to the CharacterEntity class.