CoffeeScript Rewrite

Rewrite entire library in CoffeeScript.