finish file-download arch part
update fifo and add file ops
 fifo modification
file download part finish 70% (add rarest first algorithm and choke method)
refine code and add file info write back method
refine choke method and finish client side trans
correct error handle method