functor class for callable-like function-like objects
made Matcher a functor
UrlMatcher extends Matcher