Refactor serialization to it's own module.
Start of play card message.
Refactor to switch instead of if for message type.