Add initial db code