Building the header / footer compnents of the template