Added Node interface and set up messaging to Nodes similar to messaging to Workers.