Separated DTM_MatcherCore into a new file