`index.js` and test scaffolding, tidy `README`.

Closes #5.
Closes #3.