Add edit controller, delete node code.