Added CBDbEventedCommand and factory