Add subtasks

Adds methods for dealing with subtasks