Cleanup code
Add usage, attribution, and license sections
v3.2.2, add package.json, fixup docs and code cleanup