Port Web App to use new WSGI code