Ignore swap files
Add file to encapsulate the loading of the database config
Load the db config in index and inject into routes that need it.