Scheduler FIXED
process management still in progress, exit function added
Scheduler works real well :)