Added a memory storage adapter to the pre-defined code base