Fixing dependency references and removing git submodules.