move component tasks into related component source file