add db init routine with some defaults