private function routes()
    {
        if (Configuration::read('routing.config.enable') === true) {
            $routingConfigPath = $this->configDir . DS . Configuration::read('routing.config.file');
            if (file_exists($routingConfigPath)) {
                require $routingConfigPath;
                return true;
            } else {
                throw new \Exception('Routing configuration file "' . $routingConfigPath . '" doesn\' exist.');
            }
        }
        return false;
    }