Local storage support for memory connector

/to @raymondfeng