Working on web services.

Waiting for @Ninir to do the first test (JSON format for the HATEOAS).