Added a CharacterFactory for creating Characters.