Some code linting love

* Pylint fixes
* PEP-8
* Code formatting
* Unused imports
* etc....

Initially pylint reported an initial score of `7.52/10`, it's now `8.23/10`.