MainServlet structure done.