node-based expectation, refactor using neuron.Program and fix redir message

On master, expectations are set based on nodes
Program is refactored using neuron.Program
Node is added to Nodes immediately when it connects to master then redir (to all messages) can be received.