adding docstrings for sphinx
adding sphinx docs