public function registerGroup($name,$alias,$fields){
		$grp=new BConfigCategoryGroup();
		$grp->alias=$alias;
		$grp->name=$name;
		foreach($fields as $fld){
			$grp->fields[$fld->alias]=$fld;
			}
		$this->groups[$alias]=$grp;
		return $grp;
		}