moved headers and footers into partial files