added TaskController class
fixed rmi,socker taskcontroller