added a bunch of stuff for encoding entities. Currently broken
Serialization version with chars *'s no memory management yet
Entity sending currently working. Memory leak status: unknown. Though if there are any it's probably small.
No memory leaks, cleaned up drivers. Master merge coming