added testfile
refactored chahcing service, supports prefixes