Pig extracted to ezflows-task module