Convert to Coffeescript and clean up
Remove .idea folder
Expand the unit tests a bit