Databases improved: primary and foreign keys, new tests...
Database for downloads added. Will record the pieces downloaded.
Access to the database of downloads added. Tests too.