ruby-based batch framework