split one module into two modules, one is core and another is web.