Move app options from main into app_options define in config.