Converted the inmemory vm repo to be based on a concurrent dictionary