defining EncodeInfo.
implementing encoders.
naming consistency
implementing encoders.
implemeting encoders.