Turned EntityFactory into a manager, removed addToWorld and changedInWorld methods.