Base Repo for class