Splt the shell module into 2 pieces: basic & automation

This is the first proposal for a split into 2 pieces.  It is based on #73

The first module is about 1 hour (we'll see later today) on the basis of the shell

The second module picks up with various things that lead to automation.