remove serialpacket.py and add its functions to sendpacket.py