modified device's interface again, also included addition to motion calculations
getting closer to solving the issue with the runIOLoop
finally a working sample, now need will start developing on controller