Creation of SQLdatabase class with query functions

This class sets up the connection to the sql database and provides some
useful query functions
setup a load file to load config and db

the config file holds global constants for the database and salts