Initial Mock LevelDB database implementation.
Better synchronization, API, tests.