removed unnecessary delta encoding classes, and renamed diff in the enum of encodings to delta