Some first API for the hub, by no means complete