Created simple class for the packet header and an interface for packets