Added masterNode.erl