Basic flow implementation

I think you need to import DataPacket, AckPacket, and FINPacket. Base Packet class should be unnecessary.