repo class