update copyright to reflect LICENSE
readme: add docs

Add npm version badge.
Cleaned code comments.

Still needs a better example.