half-way-fix of inMemory service. still much in Todo