[minor] Rename the internal `config` to `cfg`
[api] Integrate the "new" configuration instance