Refactor Worker to use node for it's properties

Refactor ConnectMessage to use Node object