Update docstings for all major modules, classes and functions

In order to make the app PEP8 compliant, docstrings have been added to all major modules, classes and functions.