add actions & corresponding broadcast msg
modify action talk to json
integrate with client side
fix merge conflict