Add memory database implementation
Add memory database

Add memory database
Add memory iterator
Split layerdb