adding lib and package.json