Added networking code to connect serializer and deserializer.