working with MatchResult
extraced ElementMatcher interface
removed old code