Add Serial class for serial interaction.