added rest address to node, fixed open files issue, fixed self node reference issue