Make db config centralised, add sample config, add config file to .gitignore