DB monad is reader on config too