Run as wsgi app

Fixes #2