added flask-debugtoolmode. some pep-8 cleaning