Moves submodules to root