site settings schema, model, and repository design