Moving hostname responsibility to Settings class
Pulling out Jenkins API-related methods into their own class
Moving API call from top-level watcher down to the class that uses the data