simple implementation for the web service

JSON format