Added submodule cloning function