support for multi-tasks and multiple targets
Merge pull request #5 from rvock/master

support for multi-tasks and multiple targets