refactoring dispatcher to NNexus::Index::Dispatcher