U1db implementation

Maybe just add a TODO so we easily find what's missing to implement afterwards.