Updated controller

Controller Keeps track of IP to NodeIP mapping and sends the token to
node1 if the algo selected is Torum