Updated the code to use an orientdb persistence layer instead of a
memory map.