refactored names for mem impl
started interface test files
mem - commiting some tests