add settings + playing around with localStorage
create a generic models and model function