+Add statistics gathering to the peer downloading.
+
+Statistics are needed of how much has been uploaded, downloaded from
+peers, and downloaded from mirrors.
+
+
Add all cache files to the database.
All files in the cache should be added to the database, so that they can