added Store and Model classes