Config model

removed config model and used different method to set vars for store config