Close #19 add MotionSensor interface