added templates for header/main/footer