Changed RoleType to PersonsRoleType
Changed Repository to EntityRepository
Changed Factory to EntityFactory