move application settings into the model