move the header and footer file to common directory