autopep8 __init__.py file

I made a little cleanup in the code, mostly with the pep8 advices. Some changes are hand made, not a lot (generally tabulations).

The file is now longer but easier to read, in my opinion.