created new header and footer files and converted application from haml to erb