naive Sphinx documentation

- translated all docstrings from Markdown to ReST
- added trivial documentation configuration
I think there shouldn't be an empty line here.