Adding Store class inside Factory