moved port initialization to serial_io.py