Matching request path to routes

More details on - http://thunder-ex.github.io/2014/01/19/matching-request-path-to-routes.html.