added more comments
adding the scheduler code
Merge branch 'master' of https://github.com/hyperkerfuffle/824