Rename Encoding as Decode; add Encode class and instances