How does class and extends works in CoffeeScript