Update database to use mongodb through configurable database source file.
Update diff to keep id fields on diff objects.