Refdb breaking changes proposal

From a binding perspective, those changes should ease the implementation of a new backend.