remove interactive features from ``Shell.__init__``

This enables one to test the shell.