Initial Staging for Scheduling

This is just the staging code for the scheduling. It's not done yet.