Add db helper

- Allows to custom which database to use
  Will extend into separation of production/development profiles
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>