'db' object now gets instatiated in 'utils'