add serial port class