Added some base code for the packet class