fixed app.run() to work with nginx
Merge pull request #6 from kaschaeffer/oopclean

fixed app.run() to work with nginx