Servlet based micro router and controller implementation