Added complex id
Added sharding algorithms into WaiterPool and MessageQueue