Improved the indexing module * added addDocuments and deleteDocuments methods * hid some unused methods * did some performance optimization * made validate to be called only in the class constructor