Adding interactions with SQL database to ease dupe checking, data storage, and retrieval. Script fails at line 352--syntax error near WHERE. WIP--cannot continue work until fixed. Continue using master branch at this time.