added serial_tools.py