Switch most of the calls to the REST Endpoints (not yet deployed)