package renaming; entities with factories