public function applyRoutes(App $cdl, Slim $app){
        $routes = System::getRoutesFromSettings($this->settings);
        foreach ($routes as $method => $data) {
            Dispatcher::run($cdl, $method, $app, $this, $data);
        }
    }