Added ability to choose endpoint and update applicationSetting
Further continuation of building endpoint choice.