add package.json and lib