Added JAIDetector class