Fixed import error for Rest client -Working version -