made AppConfig private and changed Get* to *, including GetAppConfig to AppConfig, hence reduction of scope for appConfig