Added Packet class + unittests