Added Nuget packages, started refactoring GenericRepository