Method to retrieve db object
Use get_db instead of passing db object into every function that needs access to a db
Remove all instances of passing db resources between functions. Use get_db instead
Add names of datastores to a dict in db.py
Use get_dialogue_db() instead of get_db()
Rename db.py to datastores.py
Use reference to datastores module instead of db