Convert to coffeescript w/ classes