Adding init-insertable
Adding validator and factory for db representation as a doc.