Add db initialization.