database queryer

This file should wrap calls to mySQL functions that we will wish to use
(pending testing). Many of the values still need to be filled in
according to the characteristics of the database. This is essentially
similar to Dr. Zacharski's utils.py file, but with some added
functionality