function(bbn\Db $db)
{
parent::__construct($db);
$this->_init_class_cfg(self::$default_class_cfg);
self::optionalInit();
$this->opt = bbn\Appui\Option::getInstance();
$this->user = bbn\User::getInstance();
$this->pref = new bbn\User\Preferences($this->db);
$this->perms = new bbn\User\Permissions();
}