Adding main template