Converted code to .litcoffee; closes #1