added settings model and version function