updated lazy compilation
adding sample test for AssureNote
adding Map GetIndex/SetIndex