old_contents: from doc import Doc, Attachment, View
  from docket import Docket
  from agency import Agency
  from entity import Entity
new_contents: from doc import Doc, Attachment, View
  from docket import Docket
  from agency import Agency
  from entity import Entity
  
  from mongoengine import connect
  from settings import DB_NAME, DB_SETTINGS
  connect(DB_NAME, **DB_SETTINGS)
subject: Add database connection code.