Added ID() macro for static IdStrings
Added query() API to ModIndex
Added "wreduce" command (work in progress)