Added more functionality to the scheduler. It should be able to select the task that should run and soon be able to create tasks. Not fully finished but its not that much left to add
Some code and structure for the scheduler.