removed repository class