made appConfig a pointer to be consistent with the configs map handling