changed footers, cleaned functions, fixed headers and styles