edit link, rearranging lots of css and templates