Finish functionality of queue handling and refactoring of scheduler as a whole
Merge branch 'cp5' of github.com:yes-os/yesos into cp5