Add: add capture task, and common framework