Add a factory for creation of ModelManager