Added coffeescript support
converted /lib and server.js to use coffeescript