Add docs back in

This can be used as a library - I should keep the docs