Rework shell
Adapt REPL UI to reworked shell
Add shell viewer
Adapt web UI to reworked shell