Adding database stored settings suport.