Initialize db part