app.py Up to date with pep8 standards