Huge rewrite (now version 2.0.0)

This update is backward compatible, but a lot of changes have been
introduced, as well as some breaking changes. Have a look at the doc
when upgrading!