We should make the hub connection into a dependency