Serializer

Write serialisable classes
This cycle looks to me overcomplicated.