updated documentation on the python files