refactor rename WSGIApplication -> WSGIMiddleware
refactor