Diff generation
API & GUI