Replace sub-repositories with submodules