[API] new base class for centroided and profile filtering added