U1db implementation

Let's leave it there for now to merge this pull request in.