Refactored SerialClient to hold serialPortNum optionally