Add package.json and unit tests