add layout for footer and header and create a new base template