fabric sample to define tasks using Task subclass