Add links to README badges.
Add main API code.
Add cli.js.