Add documentation strings, comments

Add documentation strings in python standard, """ string after definition.  http://www.python.org/dev/peps/pep-0008/#comments

Add same line comments for debug flag, fake status