Added GenericRepository to simplify data access code from Dynamic Data templates