[Core] Be pep8 compliant and improve lisibility of the code (fixes #16).
Merge pull request #17 from hobbestigrou/16-improve_pep8

[Core] Be pep8 compliant and improve lisibility of the code (fixes #16).