added initial implimentation of memory database