Update doc-strings so that they work better with Sphinx.
Initial commit.
Add docs folder.