add licence for package.json
update docs for examples