ui: refactor kv controllers, finish multi-dc support