Fix SQL injection vulnerability
Document classes, and current checks on distros before indexing