First commit: added two files that will need changing to integrate
scheduler, and fleshed out the scheduler skeleton somewhat.