New Memory Adapter

I have some idea about make a memory adapter works based on how MongoDB query. Still need many improvement. I also make the DataSpec more specific, both for memory adapter and local-storage adapter. May you check this revision? Thanks :)