public function Run($action, $args)
 {
     $action = strtolower($action);
     if ($action == 'index') {
         taskController::index();
     } elseif ($action == 'view') {
         taskController::view((int) $args[0]);
     } elseif ($action == 'edit') {
         taskController::edit((int) $args[0]);
     } elseif ($action == 'new') {
         taskController::newEntry();
     } elseif ($action == 'delete') {
         taskController::delete((int) $args[0]);
     } else {
         header("Location: /task");
     }
 }