Update edges.
Introduce Partial differences class.
Update file header comments, and rename some files.