settings model and view