Add batch support for the client side. #10

//cc @dodev @lemmy-
when the server is working