Added SwitchTask
Fixed
Merge pull request #312 from siad007/switch

Added SwitchTask