add routes for resample and rolling

closes #418