add apache2 license

and update package.json