CustomerRepository, modelfactory