Adds header, footer, and pages