Changed entry point to contain a message and return json
Merge pull request #9 from gfreeau/master

Changed entry point to contain a message and return json