Intelligent route grouping for node, heavily inspired by the Slim framework for PHP.