restructured ewsgi