added main template header and footer views