A mock Database with Indexing