restructured dependencies
finished resampler, works nicely