Created the main structure for the template.