moving putMemory in PutMulti to be called on an individual struct basis which makes it possible to do so inside the goroutine that does the put call
making putMemcache more idiomatic go code and fixing bug