[fix] DB class now uses DB name from config

Signed-off-by:jamesmcging <james.mcging@gmail.com>