Serializer

Write serialisable classes