Added generric repository