Started working on Encoder control; Made code modular/importable; Added a test class