added wsgi app wrapper