added classes for rest service client