footer and header styling, removal of unused code