require_once 'arenaValidatorHelper.php';
 /**Instantiate the arenaValidatorHelper class*/
 $arnv = new arenaValidatorHelper(time(), $_pre, $db, $arn, $_max_submissions, $_submission_timeout);
 if (isset($_GET['v'])) {
     $v = $_GET['v'];
     if ($v == 'start_download') {
         echo $arnv->download_link();
     } else {
         if ($v == 'get_timeout') {
             echo $arnv->get_timeout();
         } else {
             if ($v == 'render_submission_form') {
                 $arnv->render_submission_form();
             } else {
                 if ($v == 'is_download') {
                     $arnv->is_download($_GET);
                 } else {
                     if ($v == 'solution-submission') {
                         $arnv->online_judge($_FILES, $_POST);
                     } else {
                         if ($v = 'partial_scoreboard') {
                             $arnv->partial_scoreboard();
                         } else {
                             die('Action unavailable!!');
                         }
                     }
                 }
             }
         }
     }
 }