Flask-inspired routing system for node.js/connect