Nano-reactor for producing high performance nanomaterials