code: func New(db *DB) *Empire {
  	e := &Empire{
  		LogsStreamer: logsDisabled,
  		EventStream:  NullEventStream,
  
  		DB: db,
  		db: db.DB,
  	}
  
  	e.apps = &appsService{Empire: e}
  	e.configs = &configsService{Empire: e}
  	e.deployer = &deployerService{Empire: e}
  	e.domains = &domainsService{Empire: e}
  	e.slugs = &slugsService{Empire: e}
  	e.tasks = &tasksService{Empire: e}
  	e.runner = &runnerService{Empire: e}
  	e.releases = &releasesService{Empire: e}
  	e.certs = &certsService{Empire: e}
  	return e
  }
docs: // New returns a new Empire instance.