improved performance of utf-8 conversion in indexing; removed unused classes/methods