Update application

copied from https://github.com/openshift/flask-example/blob/master/wsgi/application