refactored MyTask command interface MyTask.hs