Adding the encoder files

Signed-off-by: Chris <cdesch@gmail.com>