Create EditPath

This simplified many things by allowing us to operate on just one path
at a time. It will also enable further simplification when we create
EditLines.