should just be the RESTAdapter class