Implemented HardwareSerial and Stream

You should have a constructor which initializes all variables. Remember c++ doesn't zero out member variables.