Added servlet that handle requests with json objects from api clients.