single template folder, DRY header and footers

please merge me soon :D