Added the option to read the data from a database named config with the table element(id, type, value)