first version

base on Qt's torrent example