modified SingletonPatternMatcher and PatternMatcherApp to include the extendsion to AbstractPatternMatcher