implement new native layer
synchronization
improve thread safety in serial class
add no such port exception handling