add repository to merchant and item initialization