Added create methods for legs and tasks