Created models and added to template.