Made the code pep8 compliant

Added 2 targets to Makefile:
pep8
autopep8

Those 2 need 2 packages, install them with
pip install pep8 autopep8

Made classes inherit object