added a config file for db and support for it
add the temporary file to the gitignore