Wire up db