Moves dependency definition into submodules.
Moves git to external script.