Add more cases for command in Controller. Improve feedback of some functions like delete