adding WSGI application class and request handler