Add main template file