public function component_load($cname){
		//Trying to include component controller file...
		$fn=BCOMPONENTSFRAMEWORKPATH.$cname.DIRECTORY_SEPARATOR.'controller.php';
		if(!file_exists($fn)){
			$fn=BCOMPONENTSAPPLICATIONPATH.$cname.DIRECTORY_SEPARATOR.'controller.php';
			}
		if(!file_exists($fn)){
			BLog::addToLog('[Router]: Could not load component ('.$cname.')!',LL_ERROR);
			return NULL;
			}
		require_once($fn);
		//Trying to create object of controller class...
		$class='Controller_'.$cname;
		if(!class_exists($class)){
			BLog::addToLog('[Router]: Could not find class ('.$class.')!',LL_ERROR);
			return NULL;
			}
		$controller=new $class();
		$controller->componentname=$cname;
		return $controller;
		}