public static function loadNaanalApp()
 {
     $success = ClsNaanalApplication::validate();
     if (!file_exists("ClsConfig.php")) {
         //$arrParam=ClsNaanalRequest::getInstance()->getAll();
         //unset($arrParam[ClsNaanalRequest::getInstance()->getUrlModuleParam()]);
         //unset($arrParam[ClsNaanalRequest::getInstance()->getUrlActionParam()]);
         //$installContent=get_module_content("install","create",0,$arrParam);
         //echo($installContent);
         //exit;
     } else {
         include_once "ClsConfig.php";
         if (!class_exists("ClsConfig")) {
             print_r("class ClsConfig not defined in ClsConfig.php.</br>");
             exit;
         }
         $arrStaticVar = array("CONTROL_PANEL", "isDeveloperMode");
         $arrError = array();
         foreach ($arrStaticVar as $staticVar) {
             if (!isset(ClsConfig::${$staticVar})) {
                 $arrError[] = "static variable <b>{$staticVar}</b> not defined in ClsConfig class.</br>";
             }
         }
     }
     if (!empty($arrError)) {
         $strError = implode("<br />", $arrError);
         echo $strError;
         exit;
     } else {
         if (ClsConfig::$isDeveloperMode) {
             include_once __DIR__ . "/testing.php";
             ClsAuieoTestGen::render(AUIEO_WEB_PATH);
         }
         $cpanel = "guest";
         $page = new ClsNaanalPage(AUIEO_CONTROL_PANEL, true, null, URL_BASE_FILE_NAME);
         if ($err = $page->getError()) {
             trace($err);
         }
         /**
          *Caching the rendered data 
          */
         ob_start();
         $page->render();
         /**
          *store the rendered data in variable 
          */
         echo ob_get_clean();
         //trace("====");
     }
 }