Fixes #127.  Moved batcher api to its own package.