Implemented HardwareSerial and Stream

If statements must always have braces. Do not check in code which does not have braces around an if and else.