Finished configuration of Repository pattern and Provider