Implementation of getConfig