Added initial version of client with aggregation support.