@@ -0,0 +1,562 @@
+%22%22%22Flask-like routes for Tornado%0A%0ATaken from https://github.com/quadloops/loopchat/blob/master/utils.py%0A%22%22%22%0A%0Aimport tornado.web%0A%0A%0Aclass routes(object):%0A    _routes = %5B%5D%0A%0A    def __init__(self, uri, name=None):%0A        self._uri = uri%0A        self.name = name%0A%0A    def __call__(self, _handler):%0A        %22%22%22gets called when we class decorate%22%22%22%0A        name = self.name or _handler.__name__%0A        self._routes.append(tornado.web.url(self._uri, _handler, name=name))%0A        return _handler%0A%0A    @classmethod%0A    def get_routes(self):%0A        return self._routes%0A

add utils module