change code for pc connection and callback to phone
finish pc connection part and fix bug #13