Rework how config is passed around

This is a hack to patch how config was previously handled. Initially
this driver was called with app.opts as its opts.
Store driver config as _config