Move database::index instance to player service