Added both a main template and a footer template