ModileDetect class