Refactored SerializablePacket package