move MemoryWatcher to common
add IIndexValue