added repository class