Added modified NomadMemory library