Small fix in MotionDetector, add example for MotionDetector
Small fix in MotionDetector, add example for MotionDetector