Fixed minor error in isValid.
Implemented the constructors and the setters.
Implemented streaming operators and debug.
Streaming test in main.

Note writing an avatar to the stream takes a lot of time, should prolly
cache them somehow.