Use common/utils/config module

Rather than passing around a `config` object