Serialization

This was to test serialization as this was a new topic to me.