public function __construct()
 {
     $this->createSPLAutoloaders();
     $this->loadConfigs();
     $this->uri = URIHelper::getURIArray();
     $this->prepareURI();
     $this->buildCMA();
     //Controller, method and arguments
     $this->instantiateController();
     define('BASEPATH', Configuration::read('basepath'));
     define('HOST', $_SERVER['SERVER_NAME']);
 }