Make index beautiful. Add commands to command mode.
Fix merge issues.