Refactored task command
Added a task printer