add EventScheduler and AlarmReceiver classes