Added poller factory to make it cleaner to poll a URL