Service Oriented Non-Volatile Memories