Adds db interaction

- Sets up base db for storing data