Added scheduler skeleton.
Added inital scheduler.