Further implementation of REST API and REST client API