Move database settings to Application Setting