Create the database if it does not exist
refactor get_db_value to work with both cache and records
insert received answers into cache table