Add task generator.
Merge pull request #1424 from namusyaka/add-task-generator

Add task generator.