added a new ServletDspatcher to better handle lifecycle of the web application.