added settings model&table
applying of settings