adds wsgi interface