Added support for a database backing for in chi.conf