Sphinx documentation

sphinx setup, docstring fix, code reindenting
No real documentation has been added :)