Starting to play with the restlet code. To implement the HTTP API.