Slightly refactored examples to run directly from the CLI.
Switched examples from the memory index to the disk index. Seems to work for now.