Started documentation of the driver

Also fixed some non pep8 compliant syntax