Create SmokeDetector.java