refine the task

Remove the Node related in task interface as they are framework implementation related. 
Remove BecomeMaster/BecomeSlave on the same ground.
Add getNode on framework so that task implementation can figure which node to talk to.