moved serial port definition to external file