Refactor/moar

Refactoring to enable declaring monitoring config for a service, not just a host, on a per host basis.

In addition to the etag, the mtime will be compared to decide if we should regenerate the config.