Added DB init in the desktop app.