public function buildRoutes(array $routes)
    {
        foreach ($routes as $key => $val)
        {
            $routes[$key]['name'] = $key;
            $routeObj = new Route($routes[$key]);

            $newRouteObjs[] = $routeObj;
        }

        return $newRouteObjs;
    }