extracted SettingsBean to tidy Controller.