Finished a lot of SQL stuff

Finished a lot of new SQL stuff, as well as testing sending scrape
results to the DB