A flexible data processing framework