renamed many files and added addTorrentWindow.html and changed torrentmgr to a class