New structure for building node-red nodes