feat(refactor): properly handle multiple submodules