upadated package.json
moved api to separate node module