added page.tpl and footer.tpl