replace all folders with submodules