Initialise settings db