Refactored bootstrap.sh, adding dependencies.sh and utils.sh.