Refactor indexes to remove dependency on AbstractSVDBIndex