Allow configuring Repository class

Now, we wait for the green test