Refactored packet class so we can allocate whole packet on a pool