Batch subsystem: initial commit