moved pattern matcher classes into a new packaged named "PatternMatcher"