moved ParentProvider from Index to Repository
exchanged c'tor parameters to more convenient order