Rest client reusable class added