document the model factory helper class