[CJ/EC][76395676] allow keypaths for app-config

- adds tests. much refactor. so code.