init RestClient and sandbox support.