Issue #193: Organized some utility classes used by the batch scheduler.