Structure updates

added handling of matchrules to config
basic structure for handling actions
modified structure of watcherservice related to folder registering
and removed old test code from folder and service classes