Implemented grouping by parent task

- refs #20