/**
  * Cleans the uri request, this is essential for the controllers
  * search for "?" in the parameter, if found try to explode to separate
  * the page requestor to the parameters
  */
 public static function cleanRequestURI($uri)
 {
     if (strpos($uri, "?")) {
         $arr_uri = explode("?", $uri);
         $uri = $arr_uri[0];
     }
     return strlen($string = str_replace(array("php", "/", ".", "html", "htm", "jsp", "asp"), "", $uri)) <= 0 ? Configuration::getDefaultPage() : $string;
 }