Fixed spelling error in class name: EntitieFactory -> EntityFactory