A "better" scheduler implementation in python.