rename readme.md to README.md
add MIT LICENCE
Rewrite in CoffeeScript; Add example.