WIP serialize/deserialize over network
Some cleanup