add code to cmd_init and cmd_finished, changed request parameters for
cmd_finished and add logic to vote a mobile phone.