Finished CML based single-core scheduler.