Base model, Base repo, Metamodel factory