added package.json to describe the api, remove error message
apidoc