Moving external code to submodules.