Client Side Batching and changing List to Set 

Signed-off-by: Rajagopal <rajagopal.sarathi@gmail.com>