-added async batch rest call
-added sync batch rest call
-added unit tests