Revert "move config out of build_graph, have it be passed in to inject_* methods"

This reverts commit 0c32b2c0fcae48f9b8a006377d120998654c1742.