wrap rendering of tasks in nice little classes