Created a point picker with callbacks
Refactored downsampling code
Markov plugin is filled in