Removed debug code + added comments to coffee