Config exposes config as a global variable

This library is leaking a global variable called `config`. This simple fix resolves it.