Add Resampler structure and program