Add functions to create a uri/url from a dictionary of hosts and to get the controller host
Move to using dictionaries for defining all hosts so that there isnt a change of variable if you move to High Availability
Tweaks to generalise ha specific config
Add functions to create a uri/url from a dictionary of hosts and to get the controller host
Move to using dictionaries for defining all hosts so that there isnt a change of variable if you move to High Availability Tweaks to generalise ha specific config