added main template file