Simplify expandable Ranges.
Refactoring and bugfix in chronicle.

- moved import into Index
- fixed bug in shortest path method
Some fixes.