add handlers for dep only task
move set factory task handler to its own file
add extensions to make it ez to clone task objects