Added UDP networking, added serializing and deserializing.