Added a GetAppConfig function and reworkded NewConfig, which was designed like crap, or worse