chore(config): Remove use of global config functions from all classes

This is wrong.