Edit Makefile
Add encoder
Add test files and readme