RTS scheduler initial commit
Merge https://github.com/avirajsaha/rts_scheduler

New code base.