added new methods for template class NonVolatileReader: free(), decrement operator and pop() method variant which returns a pointer instead of copying data