add bsd 2 clause license and package.json