add Serial class
add serial example