Use new style classes.
Refactor the writer.

- remove the html generated inside the writer module to put this in the
  templates
- move the breadcumb computation in a method