Wrote readme, added test script, added package.json, fixed prototype, handled HSC errors.