templating the appearance removing and creating footer and header file to be loaded for common pages