Create an entity and a model template.