Added tooling so new entries can be persisted to the database.
Merge branch 'saveentry'

Brings in ability to persist entries to the database, including closure tables.