Added AlarmService class