Decouple the database config.
Added .gitignore to stop tracking changes in the config file.