Serializer

Write serialisable classes
Please use braces with any if clause.