cleaned up code a little, added ability to add and remove torrents