initial commit for motion detection