cleanups, moved USE_DB field to MyAppConfig class.