Refactoring BendingSchedule logic class.