Adding function to add models to the store