Added the type of packet
Finished up most of the packet class.