hook the db class into the index clas structures
initial index structure
initial storage