*/
$CI = new $class();
if ($RTR->scaffolding_request === TRUE) {
    $CI->_ci_scaffolding();
} else {
    if (!method_exists($CI, $method)) {
        show_404();
    }
    $CI->{$method}();
}
/*
 * ------------------------------------------------------
 *  Send the final rendered output to the browser
 * ------------------------------------------------------
 */
$OUT->display();
/*
 * ------------------------------------------------------
 *  Close the DB connection of one exists
 * ------------------------------------------------------
 */
if ($CI->_ci_is_loaded('db')) {
    $CI->db->close();
}
// END OF SYSTEM EXECUTION ------------------------------
// Below are some globally accessible helper functions
/**
* Error Handler
*
* This function lets us invoke the exception class and
* display errors using the standard error template located