Added submodules for (some) dependencies.
Added environment-setting script.