Tried to understand Batch class - obscure implementation - added a lot
of TODO's and suggestions - Who made this?