First RESTful API approach.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>