Add index iterator.
Split files into separate files. Indexes now use buckets. Added Iterators.