incorporated the template files, added header and footers for the main
layout