Proper html template

and some more browsable api changes.