BeastIndex class split into BeastIndex and GraphDatabase