Creating a class to support Entity Framework and repository interface.