Revert "Create scheduler.py"

This reverts commit 4e39bf4e4e556cd59e09c74df3c29d4eca748bc5.
Revert "Revert "Create scheduler.py""

This reverts commit 265a5385968926ea5d13d6e3ffba5be6f235c7fa.