Fixed event free in wrong place. Uses event_pack and other packing for network instead of structures