remove monstrous css reset
Restructure URLs into json=true form so that json and html pages have a common pattern
small refactorings