Added repository factory impl