Working on the code style, docstrings ...

Using pylint to evaluate my terribly written code.
Current score of -16.74/10.

Broke the code with changes.