Repository factory added