Move all deps into submodules and update build.sh