Initial identity collection in the database

Define the initial identity structure in the database, and tests.
please document the conditions where *time.Time may be nil