updates in the code
 scheduler code and comments added