Update README.
Use strict.
Add tests. Initial refeactoring.
Add .gitignore.
Bump version.