updated packing
added unpacking till byte array level
changed added thread entity to borda structure