Fixed FileReaderWriter structure (cause: very low perfomance)
Added Index class