Creates ng and node