[SD] Refactor index & dashboard.