encoder interface update step1
Merge pull request #293 from ruil2/interface_step1

    encoder interface update step1 --- review request #75