Added examples
Added unit test
Cleanups in ComPort