Added support for user-provided DB service