added metadata capability to memory storage mechanism and to the storage manager