First version of the json web service to store and retrieve data form the database / file