add default header and footer,create directory structure