Updated UnitOfWork

Updated UnitOfWork to utilize the new RepositoryProvider and tested