rename class1 to IRepository