Fixing dependency references and getting rid of git submodules.