add a class to do batch api requests for large volume requests