added support for route("GET /index", function () {}) type of routing