Remove conf comments
Remove clean in doc target
Add module rst files for autodoc
Update docstrings

Move some comments and revise function documentation