Add a _get_db() method that perform the check for existance. Signed-off-by: Eric Callahan <arksine.code@gmail.com>