Create smart_scheduler.py