Add outline of roundtrip encoder
Add encoder skeleton