added first version of filter
adding filter class itself