protected function configure(IConfig $config)
    {
        $configuration = $config->get('routes');

        foreach ($configuration as $route)
        {
            $this->map($route);
        }
    }