added header, footer and sidebar templates