Minor PEP8 fixes around the code

Just some minor PEP8 violations fixes to take a first contact with the code and the new architecture