fix build - add batch documents

Next commit to convert to library w/console app implementation