implement filter deftype
wrap filters in Filter deftype
test functional application of filters