migrate service reference to index collector, remove local service map code, filter search scope to only search inside config files, prepare a collector design pattern for better performance