moving MessageBatchParse module to its own file