Added an inverted index and a document to class mapping