Database manager

@isupeene Working Database manager that is tested. Still needs contracts.

Note: Need to run database_clear.sql and then database_setup.sql on our DB before submitting.
Please index dictionaries with strings instead of symbols.  I went through and changed all the ones in our previous code because symbols that go over the network just get turned into strings, and it was confusing as heck trying to figure out what should be a symbol and what should be a string.