Initial identity collection in the database

Define the initial identity structure in the database, and tests.
I think this one should definitely have a txn.DocExists