Implemented getconfig in a new way. Should allow multiple APIs to coexist better.
Merge branch '4.3-getConfig-refactoring' into 4.3