refactor EditController to make it stateful, and add addWayNodes functionality with...