Finished the SQL connector, consolidated code, added more to the config file