[TASK] Add live update on node changes and convenience commands

The following improvements where done for the command line:
- nodeindex:flush - empties your index
- nodeindex:optimize - can be run to optimize your index