removed hard coded ip address from device simulator.