Remove submodules, preserve code