Moved tcp connection code out to comms module
Worked on packing/unpacking functions in pystruct.py