Moved NitIndex redefintion from Debugger to Nitx

Moved NitIndex redef from debugger to nitx.
Cleaned the constructor too.