Add code and "tests".
Update readme and package.json.