add measure client
take rmq as argument
more updates