create header and footer templates