Rework of the scheduler.
compile time tuples.