Add DB init functions