added mainsite and footer, formating code