function(bbn\Db $db)
{
$this->db = $db;
$this->_init_class_cfg();
$this->events = new \bbn\Appui\Event($this->db);
$this->ecfg = $this->events->getClassCfg();
$this->options = new \bbn\Appui\Option($this->db);
$this->ocfg = $this->options->getClassCfg();
}