creating repo classes