Implemented a more event like serial communication system