             }
             response.end body
 
-        addRoute "\/queue\/(.+?)\/?$", {
+        route "\/queue\/(.+?)\/?$", {
             GET: (match, response) =>
                 queue = Q_PREFIX + match[1]
                 @redis.lrange queue, 0, -1, (err, messages) ->

        controller = zeromq.createSocket 'pub'
        routes = {}

        addRoute = (regEx, actions) ->
            routes[regEx] = actions

        return404 = (response) ->

                    }
        }

        route "\/job\/(.+?)\/?$", {
            GET: (match, response) =>
                @redis.get match[1], (err, job) ->
                    respond response, job
