cleanup
first integration of SerialPort (with tests)