Shuffle of structure and create AbstractPacket

AbstractPacket will handle serialization of packets