Split StringMatcher to separate files in own directory

First step of refactoring this part of code

Bug: 57348
Change-Id: Iac7c7b829c39e64d35fb10bfcd421aba67a61d44
Merge "Split StringMatcher to separate files in own directory"