refactor dispatch and rename request variable to batchRequest
rename batch request and fix comment
Merge pull request #7 from iamdoron/master

refactor dispatch and batch