perhaps working karr scheduler
add M/R scheduler (separated out from Scheduler.scala