changing legacy appConf to use new appConf directly to fix issues with null pointers and invalid conf when running from wars