Create AlarmController.php