Implemented very basic resampling, downsampling only, and added MIT license