Added docstrings, and improved some of the comments on several tasks.
Merge pull request #144 from ceph/wip-doc5939-wusui

Added docstrings, and improved some of the comments on several tasks.