Add node connect and disconnect functionalities