Added support for batch requests

Complete with documentation and testing