IndexInteractor refactored for knowing too much.

Signed-off-by: Se7enChat <se7enchat@zoho.com>