adding more docstrings and  pep8 cleaning
adding sphinx documentation