Add dump function (which does nothing yet)

Also took chance to start documenting module.