JMemoryService class; addressing Ian's comments