Changes router dispatch method. Now handler and method are arguments of this method. Method install_handler was deleted
Fix receiving command responses from agent. Add send command method to controller
Add command handling