refactored task model. has now only one time property and an action property
more robust schedule and task ctor
implemented Schedule.nextTask()