Application main template.