change to submodule mode

Signed-off-by: xiehuc <xiehuc@gmail.com>