adding SettingsLogic setup
adding database config