move nodespace removal logic to nodenet

where it belongs