refactor and configuration parsing change (added this node port)