Add shell module

Few modifications and addition of the "shell" module