use preg_replace for backreference routing, add subdomain or domain routing, use slash for indicating submodule