Add initialize and destroy functions to NodeService