Initial code.

Initial code and tests.
Correction in package.json

Forgot to update the repository type when I migrated the code to a git
repo.