Added footer to every page, restructured templates