refactored MyTask spezific events into MyDomain and added public command interface into MyTask
console program creates one task