Stage 0:
*basic structure
--global variable...
- -requires:
- -torrents
- -options
- -peers
- -session?
+-global variables
+ -torrents
+ -options
+ -peers
-setup watches
*add option to watch directories
+ -add option for worker_threads [default=ncores]
-find all files in directory
-functions for traversing directory
-save to struct with file size
- -sort
+ -multi-threaded add (spawn new thread per file)
+ -sort in torrent struct after all done
-on modification, update torrents
-add files to torrent
-create torrent
+ -build merkle tree
+ -bencode
-.torrent file
-magnet link
-networking