implemented support for subject, subejctbody conditions. copytofolder action. and refactored stuff to allow for easier implemtation of new conditions and actions