Removed nodeMap from modules except init. Code cleanup.