Put wsgi stuff in module for gunicorn deployment.