class for make the motion detection
test for the detector