move repo parent info to repository class