added debug function to add a debug class to body
added debug outlines for headers & footers