Added repository interfaces and classes that implement them.