global: pep8 and pep257 improvements

* Improves code style. (closes #6)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>