Initial commit, slightly modified pdiff library