Fixed PEP-8 code styling issues
Ignore too complex methods for the moment
Add flake8 as a pip requirement
Fix import statements in examples