support submodule for routes

Signed-off-by: Zealot Ke <chzealot@gmail.com>