Batch support

Adding in batch support for python API client, cleaning up interface a bit.