Added init script for CLI.
Work on book navigation.
indexOrder sort behaves more sanely (in hierarchy).