Extracted filters into new files. Added Smear test.