First functioning commit

For #73. Hashing works properly now, md5s are being checked before
querying the API, progress data is output to STDOUT, and records are
being inserted into SQLite.