Downsample

These are the commits that implement downsampling when importing instrument data.
I have addressed this by using a mixin for downsample_ratio. I chose this approach b/c the property is used among 4 commands. I will make it a separate pull request.