Replace scheduling mutex with controller #191