[enh] Add docstrings to process.py

Turn the existings comments into docstrings so they can be seen via introspection
Merge pull request #27 from olethanh/docstrings

[enh] Add docstrings to process.py