Add minirecord orm, fixes #2