Register returns a new router for the Grafana plugin, which can be used in the router for the kobs rest api. For each
instance we are adding the "internalAddress" and the "publicAddress" to the options, so that they can be used in the
frontend.
Router implements the router for the Grafana plugin, which can be registered in the router for our rest api. Next to
the http routes it also contains a list of all registered instances for the Grafana plugin.