added device operate, get device name
modify the setup function
added the dictionary function which will be used in the setup function
delete the comm