Decoupling the -core and -ui App and Config classes functionality