Created Repository classes and tests.