Created BasicMatcher which is a base class of all other matchers